﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfApp1.Models;

namespace WpfApp1.Servcies
{
    public class CarService
    {
        public static List<Car> All()
        {
            var list = new List<Car>();

            list.Add(new Car(1, "BYD Q", 1));
            list.Add(new Car(2, "Honda X", 2));
            list.Add(new Car(3, "Toyota Hanland", 3));
            list.Add(new Car(4, "Benz X", 4));
            list.Add(new Car(5, "BMW X7", 5));
            list.Add(new Car(6, "Volkswagen Y", 6));

            return list;
        }
    }
}
